import React, { Component } from 'react'
import RouterView from '../router/routerView'
import {RouterItem} from "../types/index.d"
interface Iprops{
     child:RouterItem[]
}
 class All extends Component<Iprops,{}> {
  render() {
      let {child} =this.props
    return (
      <div>
          <RouterView RouterList={child}></RouterView>
      </div>
    )
  }
}

export default All